if ischar(yin)
    dataswitch = yin;
    marmDataSelection;
    invary = temp(:,:,50);
    invaryStd = marmmeanrois( invary );
else
    invary = yin;
end

y = cat(1, invary(graymask > 0), invary(whitemask > 0));